package com.ws.admin.help.mapper;

import com.ws.admin.help.entity.Help;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.HashMap;
import java.util.List;
/**
 * <p>
 * 求助信息表 Mapper 接口
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-26
 */
@Mapper
public interface HelpMapper extends BaseMapper<Help> {

    List<Help> listByParam(Page<Help> page, @Param("param") Help help);

    Help readByMap(@Param("param") HashMap<String, Object> map);
}
